package jmine.tec.security.ldap.exception;

import jmine.tec.security.ldap.SecurityLDAPMessages;

/**
 * Exceção lançada caso a senha esteja incorreta, invalidando a autenticação.
 * 
 * @author seiti
 * @created Apr 28, 2011
 */
public class IncorrectPasswordException extends AbstractSecurityLdapException {

    /**
     * Ctor
     */
    public IncorrectPasswordException() {
        super(SecurityLDAPMessages.SENHA_INCORRETA.create());
    }

    /**
     * Ctor
     * 
     * @param cause cause
     */
    public IncorrectPasswordException(Throwable cause) {
        super(SecurityLDAPMessages.SENHA_INCORRETA.create(), cause);
    }

}
